Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: two config ways both work #934

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZZYhho
Copy link

@ZZYhho ZZYhho commented Aug 7, 2024

I want to use a redis_exporter to monitor multiple versions of Redis. I typically use non-default users with -redis.user=exporter and -redis.password. However, for Redis versions lower than 6.0, only the default user can be used. Therefore, I am submitting this request: for lower versions of Redis, please allow the use of --redis.password-file, while for other versions, I would like to continue using -redis.user=exporter and -redis.password. the both config ways all work.
example: ./redis_exporter -redis.user=exporter -redis.password=xxx --redis.password-file=./passwd.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant